// 客服

// 新增聊天
export const addTalk = (data)=>{
	return uni.$post('/app/leaService/addTalk',data)
}
// 分页查询聊天
export const servicePage = (data)=>{
	return uni.$get('/app/leaService/page',data,'application/x-www-form-urlencoded')
}

// 更新已读状态
export const updRead = (data)=>{
	return uni.$post('/app/leaService/updRead',data)
}

// 查询客服聊天未读数量
export const gtUnreadCounts = (data)=>{
	return uni.$get('/app/leaService/gtUnreadCounts',data,'application/x-www-form-urlencoded')
}